#include<iostream>
using namespace std;

short int MinData;
short int MaxData;
short int i;

int main()
{
  MinData = -32768;
    cout << "Answer is " << MinData * MinData << endl;
  if (MinData * MinData >= 0)
    cout << "YES!";
  else
    cout << "NO!";

  MaxData = 32767;
 ;
     cout << "\nAnswer is " << MaxData * MaxData << endl;
  if (MaxData * MaxData >= 0)
    cout << "YES!";
  else
    cout << "NO!";

   short int i;
   cout << "\nEnter a number: ";
   cin >> i;
      cout << "Answer is " << i * i << endl;
    if (i * i >= 0)
    cout << "YES!";
  else
    cout << "NO!" <<endl;

  short int a = 1;
    for (a; a * a >= 0;a++)
  {
      cout << a;
  }
    return 0;
}
